//
//  UPOederAllClassModel.m
//  LoveFreshBee
//
//  Created by wyzc on 16/6/15.
//  Copyright © 2016年 叶落知秋. All rights reserved.
//

#import "UPOederAllClassModel.h"

@implementation UPOederAllClassModel

-(instancetype)initWithDict:(NSDictionary *)dict
{
    self=[super init];
    if (self) {
        self.iid=[dict[@"id"]intValue];
        self.pcid=[dict[@"pcid"]intValue];
        self.name=dict[@"name"];
        self.sort=[dict[@"sort"]intValue];
    }
    return self;
}
+(instancetype)modelWithDict:(NSDictionary *)dict
{
    return [[self alloc]initWithDict:dict];
}
@end
